package com.example.entity;

import lombok.Data;

import java.io.Serializable;
import java.sql.Time;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 评论表
 */
@Data
public class Comment implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;
    /** 内容 */
    private String content;
    /** 评论时间 */
    private Timestamp createTime;
    private String releaseTime;
    /** 模块 */
    private String module;
    private Integer userId;
    private Integer pid;
    private Integer fid;
    private Integer rootId;

    private String avatar;
    private String userName;
    private String delTag;
    //地址
    private String location;

    private List<Comment> children;

    private String parentUserName;
    private Timestamp updateTime;
    private Boolean userReport;

}